package blog.entity;

/**
 * Blog entity. @author MyEclipse Persistence Tools
 */

public class Blog implements java.io.Serializable {

	// Fields

	private Integer blogId;
	private String blogName;
	private String description;
	private Integer level;
	private Integer integral;
	private Integer imageId;
	private Long visit;

	// Constructors

	/** default constructor */
	public Blog() {}

	public Blog(String blogName, String description,
			Integer imageId, Integer integral, Integer level, Long visit) {
		super(); 
		this.blogName = blogName;
		this.description = description;
		this.imageId = imageId;
		this.integral = integral;
		this.level = level;
		this.visit = visit;
	}

	public Integer getBlogId() {
		return blogId;
	}

	public void setBlogId(Integer blogId) {
		this.blogId = blogId;
	}

	public String getBlogName() {
		return blogName;
	}

	public void setBlogName(String blogName) {
		this.blogName = blogName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public Integer getImageId() {
		return imageId;
	}

	public void setImageId(Integer imageId) {
		this.imageId = imageId;
	}

	public Long getVisit() {
		return visit;
	}

	public void setVisit(Long visit) {
		this.visit = visit;
	}

	
}